package com.ruoyi.restaurant.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 测试子1对象 test_child
 * 
 * @author ruoyi
 * @date 2022-04-18
 */
public class TestChild extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 测试子表ID */
    private Integer secondId;

    /** 测试子表nums */
    @Excel(name = "测试子表nums")
    private String secondNums;

    /** 测试主表ID */
    @Excel(name = "测试主表ID")
    private Integer firstId;

    public void setSecondId(Integer secondId) 
    {
        this.secondId = secondId;
    }

    public Integer getSecondId() 
    {
        return secondId;
    }
    public void setSecondNums(String secondNums) 
    {
        this.secondNums = secondNums;
    }

    public String getSecondNums() 
    {
        return secondNums;
    }
    public void setFirstId(Integer firstId) 
    {
        this.firstId = firstId;
    }

    public Integer getFirstId() 
    {
        return firstId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("secondId", getSecondId())
            .append("secondNums", getSecondNums())
            .append("firstId", getFirstId())
            .toString();
    }
}
